module.exports = {
  // 对于请求体参数的设置
  login: {
    account: {
      type: "string",
      require: true,
      example: "admin123"
    },
    password: {
      type: "number",
      require: true,
      example: 'lll123@'

    }
  },
  register: {
    userId: {
      type: "string",
      require: true,
      example: "stu001"
    },
    account: {
      type: "string",
      require: true,
      example: "admin"
    },
    password: {
      type: "number",
      require: true,
      example: '123456'
    },
    nickName: {
      type: "string",
      require: false,
      example: "一只花小妖"
    },
    avatar: {
      type: "string",
      require: false,
      example: 'https://i0.hdslb.com/bfs/archive/31776d5db2723677939430797305451b7f3db2ae.jpg'
    },
    roleId: {
      type: "number",
      require: true,
      example: 2
    },
    mobile: {
      type: "string",
      require: true,
      example: "19167041634"
    },
  },
  resetPsd: {
    userId: {
      type: "string",
      require: true,
      example: "stu001"
    },
  },
  updateUser: {
    userId: {
      type: "string",
      require: true,
      example: "stu001"
    },
    nickName: {
      type: "string",
      require: false,
      example: "一只花小妖"
    },
    avatar: {
      type: "string",
      require: false,
      example: 'https://i0.hdslb.com/bfs/archive/31776d5db2723677939430797305451b7f3db2ae.jpg'
    },
    mobile: {
      type: "string",
      require: true,
      example: "19167041634"
    },
  },
  updatePassword: {
    userId: {
      type: "string",
      require: true,
      example: "stu001"
    },
    password: {
      type: "string",
      require: true,
      example: "user123@"
    }
    ,
    newpsd: {
      type: "string",
      require: true,
      example: "user123@"
    }
  },
  addBUser:{
    userId: {
      type: "string",
      require: true,
      example: "st001"
    },
    userName: {
      type: "string",
      require: true,
      example: "正义"
    },
    age: {
      type: "number",
      require: true,
      example: 18
    },
    gender: {
      type: "string",
      require: true,
      example: "女"
    },
    roleId: {
      type: "number",
      require: true,
      example: 2
    },
    type: {
      type: "number",
      require: true,
      example: 1
    },
  }
}